package com.ruoyi.energy.mapper;

import java.util.List;
import com.ruoyi.energy.domain.EnergyConsumption;

/**
 * 能耗信息Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-08
 */
public interface EnergyConsumptionMapper 
{
    /**
     * 查询能耗信息
     * 
     * @param energyConsumptionId 能耗信息ID
     * @return 能耗信息
     */
    public EnergyConsumption selectEnergyConsumptionById(Long energyConsumptionId);

    /**
     * 查询能耗信息列表
     * 
     * @param energyConsumption 能耗信息
     * @return 能耗信息集合
     */
    public List<EnergyConsumption> selectEnergyConsumptionList(EnergyConsumption energyConsumption);

    /**
     * 新增能耗信息
     * 
     * @param energyConsumption 能耗信息
     * @return 结果
     */
    public int insertEnergyConsumption(EnergyConsumption energyConsumption);

    /**
     * 修改能耗信息
     * 
     * @param energyConsumption 能耗信息
     * @return 结果
     */
    public int updateEnergyConsumption(EnergyConsumption energyConsumption);

    /**
     * 删除能耗信息
     * 
     * @param energyConsumptionId 能耗信息ID
     * @return 结果
     */
    public int deleteEnergyConsumptionById(Long energyConsumptionId);

    /**
     * 批量删除能耗信息
     * 
     * @param energyConsumptionIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteEnergyConsumptionByIds(Long[] energyConsumptionIds);
}
